package store.aixx.jwt.demo.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.servlet.http.HttpServletRequest;

/**
 * @author yukai
 * @since 2021年12月11日 0:21
 */
@Slf4j
@RequestMapping
@RestController
public class UserController {

    @PostMapping("/login")
    public String login(HttpServletRequest request){
        log.info("==========entry to UserController login");
        return "Hello";
    }

}
